package com.shenghua.service;

import com.shenghua.dao.model.Roles;
import com.shenghua.dao.page.Page;
import com.shenghua.utils.beans.Dto;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * Created by Administrator on 2019/3/23.
 */
public interface RolesService {
    Dto<Roles> addNewRoles(Roles roles);
    Dto<Map<String,Object>> queryRolesByPage(Map<String, Object> params, Page page);
    Dto<Roles> deleteRoles(Roles roles);
    Roles selectRolesById(int id);
    Dto<Map<String,Object>> countRoles(Map<String, Object> params);

    Dto<Roles> editCurrentRoles(Roles roles);

    /**
     * 下拉列表查询角色信息
     * @return
     */
    String queryRolesForCombobox();
}
